package cn.tedu.dimanage.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Classname: DonationDetailsVO
 * @Author: bromide
 * @CreateTime: 2022/6/27--下午10:50
 * @Version: V1.0
 * @Description:
 */
@Data
public class DonationDetailsVO implements Serializable {
    private Long id;
    private String itemName;
    private String description;
    private Integer count;
    private Long userId;
    private String username;
    private String img;
    private String checkReply;
    private Integer checkState;
    private String checkName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss", timezone="GMT+8")
    private LocalDateTime gmtCreate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss", timezone="GMT+8")
    private LocalDateTime gmtModified;
}
